export default {
  mount: {
    title: "Mount Explorer",
    permissionRequired: "Admin privileges or a valid API key are required to access mount explorer, please",
    loginAuth: "login to admin panel or configure API key",
    cancel: "Cancel",
    backToFileList: "Back to File List",
    noPermissionForPath: "You don't have permission to access this directory. You can only access {path} and its subdirectories.",
    batchDelete: {
      title: "Confirm Batch Delete",
      message: "Are you sure you want to delete the selected {count} items? This action cannot be undone.",
      selectedItems: "Selected items:",
      folder: "(Folder)",
      moreItems: "... and {count} more items",
      confirmButton: "Delete",
      cancelButton: "Cancel",
      deleting: "Deleting...",
    },
    operations: {
      upload: "Upload",
      createFolder: "New Folder",
      refresh: "Refresh",
      viewMode: "View Mode",
      batchOperations: "Batch Operations",
      tasks: "Task List",
    },
    createFolder: {
      enterName: "Please enter folder name",
      folderName: "Folder Name",
      placeholder: "New folder",
      create: "Create",
      cancel: "Cancel",
      creating: "Creating...",
    },
    viewModes: {
      list: "List View",
      grid: "Grid View",
      gallery: "Gallery View",
    },
    // Settings drawer
    settings: {
      title: "Local Settings",
      viewMode: "View Mode",
      listView: "List",
      gridView: "Grid",
      galleryView: "Gallery",
      density: "Display Density",
      densityCompact: "Compact",
      densityComfortable: "Comfortable",
      densitySpacious: "Spacious",
      displayOptions: "Display Options",
      showCheckboxes: "Show Checkboxes",
      sorting: "Sorting",
      sortBy: "Sort By",
      sortByName: "Name",
      sortBySize: "Size",
      sortByModified: "Modified Time",
      sortByType: "Type",
      sortOrder: "Sort Order",
      ascending: "Ascending",
      descending: "Descending",
      foldersFirst: "Folders First",
      animations: "Animations",
      enableAnimations: "Enable Animations",
      showActionButtons: "Show Action Buttons",
      itemSpacing: "Item Spacing",
      spacingCompact: "Compact",
      spacingStandard: "Standard",
      spacingRelaxed: "Relaxed",
      fileNameDisplay: "File Name Display",
      fileNameEllipsis: "Ellipsis Truncation",
      fileNameScroll: "Scroll on Hover",
      fileNameWrap: "Auto Wrap",
      resetToDefault: "Reset to Default",
    },
    fileList: {
      loading: "Loading...",
      empty: "This directory is empty",
      noMountPoints: "No available mount points",
      name: "Name",
      size: "Size",
      modifiedTime: "Modified Time",
      type: "Type",
      actions: "Actions",
      selectAll: "Select All",
      deselectAll: "Deselect All",
      clickToSort: "Click to sort",
    },
    rename: {
      title: "Rename",
      enterNewName: "Please enter new name",
      newName: "New Name",
      cancel: "Cancel",
      confirm: "Confirm",
      renaming: "Renaming...",
      failed: "Rename failed",
    },
    delete: {
      title: "Confirm Delete",
      message: "Are you sure you want to delete {type} {name}?",
      folderWarning: "This operation will delete the folder and all its contents.",
      cancel: "Cancel",
      confirm: "Delete",
      deleting: "Deleting...",
    },
    messages: {
      apiKeyInfoUpdated: "API key information updated",
      refreshSuccess: "Refresh successful",
      refreshFailed: "Refresh failed, please try again",
      getDirectoryContentFailed: "Failed to get directory content: {message}",
      getDirectoryContentFailedUnknown: "Failed to get directory content: {message}",
      fileUploadSuccess: "File upload successful",
      fileUploadFailed: "File upload failed: {message}",
      fileUploadFailedUnknown: "File upload failed: {message}",
      uploadCancelling: "Cancelling upload...",
      folderCreateSuccess: "Folder created successfully",
      createFolderSuccess: "Folder created successfully",
      folderCreateFailed: "Folder creation failed: {message}",
      folderCreateFailedUnknown: "Folder creation failed: {message}",
      renameSuccess: "{type} renamed successfully",
      renameFailed: "Rename failed: {message}",
      renameFailedUnknown: "Rename failed: {message}",
      deleteSuccess: "{type} deleted successfully",
      deleteFailed: "Delete failed: {message}",
      deleteFailedUnknown: "Delete failed: {message}",
      downloadPreparing: "Preparing file download...",
      downloadSuccess: "File download successful",
      downloadStarted: "Started downloading {name}",
      downloadFailed: "File download failed: {message}",
      downloadFailedUnknown: "File download failed: {message}",
      uploading: "Uploading {name}...",
      initializationFailed: "Initialization failed: {message}",
      batchDeleteFailed: "Batch delete failed: {message}",
      previewError: "File preview loading failed",
      batchDeleteSuccess: "Successfully deleted {count} items",
      copySuccess: "{message}",
      copyFailed: "Copy failed: {message}",
      getFileLinkFailed: "Failed to get file direct link: {message}",
      getFileLinkError: "Error getting file direct link: {message}",
      noItemsSelected: "Please select items to operate on",
      uploadSuccess: "Upload successful",
      uploadFailed: "Upload failed: {message}",
      shareCreated: "Share link created and copied to clipboard: {url}",
      shareCreateFailed: "Failed to create share link: {message}",
      pageLoadFailed: "Page load failed",
      pageLoadFailedRetry: "Page load failed, please refresh and try again",
      previewLoadFailed: "Preview load failed",
      fileSaveSuccess: "File {name} saved successfully",
      fileSaveFailed: "Failed to save file",
      linkCopiedSuccess: "File direct link copied to clipboard",
    },
    filePreview: {
      downloadFile: "Download File",
      directPreview: "Direct Preview",
      generating: "Generating...",
      createShare: "Create Share Link",
      creatingShare: "Creating...",
      fileSize: "File Size:",
      modifiedTime: "Modified Time:",
      fileType: "File Type:",
      unknown: "Unknown",
      editMode: "Edit",
      previewMode: "Preview",
      saving: "Saving...",
      save: "Save",
      cancel: "Cancel",
      language: "Language:",
      autoDetect: "Auto Detect",
      configFile: "Config File",
      loadingPreview: "Loading...",
      previewError: "Failed to load file preview",
      retryLoad: "Please try to reload or download file to view",
      retry: "Retry",
      cannotPreview: "File cannot be previewed",
      downloadToView: "Current file type does not support online preview, please click download button to download and view",
      wordPreview: "Word Document Preview",
      excelPreview: "Excel Spreadsheet Preview",
      powerpointPreview: "PowerPoint Presentation Preview",
      exitFullscreen: "Exit Fullscreen",
      fullscreen: "Fullscreen",
      browserNative: "Browser Native",
      pdfjsLabel: "PDF.js",
      officeProvider: {
        microsoft: "Microsoft Office Online",
        google: "Google Docs",
      },
      officePreview: "Office Preview",
      useMicrosoftPreview: "Use Microsoft Preview",
      useGooglePreview: "Use Google Preview",
      officeLoading: "Loading...",
      htmlPreview: "HTML Preview",
      browserNotSupport: "Your browser does not support",
      videoTag: "video tag",
      audioTag: "audio tag",
      cannotLoadText: "Cannot load text content",
      loadTextError: "Error loading text content",
      pdfLoading: "Loading PDF preview...",
      noPdfPreview: "Unable to load PDF preview",
      getStorageLinkFailed: "Failed to get storage direct link: {message}",
      storagePreviewFailed: "Storage direct preview failed: {message}",
      fileTooLarge: "File content is too large, exceeds maximum limit (10MB). Please reduce file size and try again.",
      saveFileFailed: "Failed to save file: {message}",
      saveFileError: "Error occurred while saving file: {message}",
      fileContentTooLarge: "File content is too large, exceeds server limit",
      noPermissionUpdate: "No permission to update this file",
      serverNoResponse: "Server not responding, please check network connection",
      saveFileShortcut: "Save file (Ctrl+S)",
      rightClickHint: "Right-click editor for more features (insert timestamp, text stats, formatting, etc.)",
      cannotGetEditorContent: "Cannot get editor content",
    },

    copyModal: {
      title: "Select Target Folder",
      selectedInfo: "Selected: {count} items ({folders} folders, {files} files)",
      targetLocation: "Target Location:",
      loading: "Loading...",
      rootDirectory: "Root Directory",
      cancel: "Cancel",
      confirmCopy: "Confirm Copy",
      copying: "Copying...",
      skipExisting: "Skip existing files",
      skipExistingTooltip: "Skip copying if a file with the same name already exists at the target location",
      warnings: {
        recursiveCopy: "Warning: Cannot copy folder to itself or its subdirectories, this may cause infinite recursion.",
        selfCopy: "Warning: Cannot copy folder to itself.",
      },
      confirmPotentialIssue: "Potential issue detected: {warning}\n\nDo you still want to continue copying?",
    },
    fileItem: {
      download: "Download",
      getLink: "Get Direct Link",
      rename: "Rename",
      delete: "Delete",
      preview: "Preview",
      copy: "Copy",
      move: "Move",
      properties: "Properties",
    },
    contextMenu: {
      addToBasket: "Add to File Basket",
      batchDownload: "Batch Download",
      batchCopy: "Batch Copy",
      batchAddToBasket: "Batch Add to Basket",
      batchDelete: "Batch Delete",
      showCheckboxes: "Show Checkboxes",
      hideCheckboxes: "Hide Checkboxes",
    },
    toolbar: {
      more: "More Actions",
      collapse: "Collapse",
      refresh: "Refresh",
      newFolder: "New Folder",
      upload: "Upload Files",
      showCheckboxes: "Show Checkboxes",
      hideCheckboxes: "Hide Checkboxes",
      tasks: "Task List",
      settings: "Settings",
    },
    audioPreview: {
      loadingAudio: "Loading...",
      audioPlayer: "Audio Player",
    },
    videoPreview: {
      loadingVideo: "Loading...",
      videoPlayer: "Video Player",
    },
    textPreview: {
      loadingText: "Loading...",
    },
    taskList: {
      title: "Task List",
      loading: "Loading tasks...",
      empty: "No tasks",
      status: {
        pending: "Pending",
        failed: "Failed",
        cancelled: "Cancelled",
      },
      cancel: "Cancel",
      itemsFailed: " failed",
      unknownFile: "Unknown file",
      viewFullManagement: "View Full Task Management",
      retry: {
        retryCount: "Retried {count} times",
        withRetry: "(retried {count}x)",
      },
    },
    taskManager: {
      title: "Task Manager",
      noTasks: "No tasks",
      noTasksDescription: "No active or completed tasks currently",
      activeTasks: "Active tasks ({count})",
      completedTasks: "Completed tasks ({count})",
      clearCompleted: "Clear Completed",
      cancel: "Cancel",
      retry: "Retry",
      details: "Details",
      hideDetails: "Hide Details",
      status: {
        pending: "Pending",
        running: "Running",
        completed: "Completed",
        failed: "Failed",
        cancelled: "Cancelled",
      },
      types: {
        copy: "Copy",
        upload: "Upload",
        delete: "Delete",
        download: "Download",
      },
      progress: "Progress: {current}/{total}",
      timeElapsed: "Time elapsed: {time}",
      createdAt: "Created at: {time}",
      updatedAt: "Updated at: {time}",
      error: "Error: {message}",
      confirmCancel: "Are you sure you want to cancel this task?",
      confirmClearCompleted: "Are you sure you want to clear all completed tasks?",
      downloading: "Downloading",
      uploading: "Uploading",
      processing: "Processing",
      currentFile: "Current file: {fileName}",
      processed: "Processed: {current}/{total}",
      completedAt: "Completed at: {time}",
      processedItems: "Processed items: {current}/{total}",
      success: "Success: {count}",
      failed: "Failed: {count}",
      skipped: "Skipped: {count}",
      partialComplete: "Partial Complete",
      copyTask: "Copy Task",
      uploadTask: "Upload Task",
      deleteTask: "Delete Task",
      downloadTask: "Download Task",
      unknownTask: "Unknown Task",
      waiting: "Waiting",
      unknown: "Unknown",
      unknownTime: "Unknown time",
      copyTaskName: "Copy {count} items to {path}",
      copyStarted: "Started copying {count} items to {path}, check progress in task manager",
      taskCompletedRefresh: "Task completed, directory refreshed",
      // File status
      fileStatus: {
        pending: "Pending",
        downloading: "Downloading",
        completed: "Completed",
        failed: "Failed",
        preparing: "Preparing...",
      },
      // File progress
      fileProgress: "File Progress",
      filesCount: "files",
    },
    linkCopied: "File direct link copied to clipboard",
    pathPassword: {
      title: "Password Required",
      description: "Directory {path} requires a password to access",
      label: "Please enter password",
      placeholder: "Enter password",
      verify: "Verify",
      cancel: "Cancel",
      back: "Back",
      verifying: "Verifying...",
      incorrectPassword: "Incorrect password, please try again",
      verifyFailed: "Password verification failed, please try again",
      verified: "Password verified successfully",
    },
    fileTypes: {
      folder: "Folder",
      file: "File",
      image: "Image",
      video: "Video",
      audio: "Audio",
      document: "Document",
      archive: "Archive",
      code: "Code",
      unknown: "Unknown Type",
    },
    sizeUnits: {
      bytes: "Bytes",
      kb: "KB",
      mb: "MB",
      gb: "GB",
      tb: "TB",
    },
    uppy: {
      title: "File Upload",
      uploadMethod: "Upload Method",
      presignedUpload: "Presigned Upload",
      streamUpload: "Streaming Upload",
      formUpload: "Form Upload",
      multipartUpload: "Multipart Upload",
      resumeSupport: "Resume Support",
      presignedMode: "Presigned Mode",
      streamMode: "Streaming Mode",
      formMode: "Form Mode",
      multipartMode: "Multipart Mode",
      presignedModeTooltip: "Use presigned URL, secure and fast",
      streamModeTooltip: "Upload via backend streaming relay to storage",
      formModeTooltip: "Upload via multipart/form-data (single request)",
      multipartModeTooltip: "Suitable for large files, supports resume",
      advancedFeatures: "Advanced Features",
      enabledCount: "{count} enabled",
      targetPath: "Target Path:",
      startUpload: "Start Upload",
      uploading: "Uploading...",
      pasteSupport: "Support",
      pasteKey: "Ctrl+V",
      pasteHint: "paste files from clipboard",
      initializationFailed: "Upload component initialization failed: {message}",
      close: "Close",
      fileName: "File Name",
      customFilename: "Custom filename (optional)",
    },
  },
  breadcrumb: {
    navigation: "Breadcrumb Navigation",
    root: "Root Directory",
    exitSelection: "Exit Selection", // Only keep this one, used in FloatingActionBar
  },
};
